```html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CheckStyle - Java代码规范检查工具</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            color: #333;
            background-color: #f9fafb;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .section-title {
            position: relative;
            display: inline-block;
        }
        .section-title:after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: #2563eb;
            border-radius: 3px;
        }
        .feature-icon {
            width: 48px;
            height: 48px;
            background-color: #2563eb;
            border-radius: 12px;
        }
        .mermaid {
            background-color: white;
            border-radius: 0.5rem;
            padding: 1.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
    </style>
</head>
<body class="antialiased">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 md:py-32 px-4 md:px-0">
        <div class="container mx-auto max-w-6xl flex flex-col md:flex-row items-center">
            <div class="md:w-1/2 mb-10 md:mb-0">
                <h1 class="text-4xl md:text-5xl font-bold leading-tight mb-6">CheckStyle</h1>
                <h2 class="text-xl md:text-2xl font-medium mb-6">Java代码规范的守护者</h2>
                <p class="text-lg mb-8 opacity-90">专为Java开发者设计的静态代码分析工具，帮助团队强制执行编码标准，提升代码质量和一致性。</p>
                <div class="flex flex-col sm:flex-row gap-4">
                    <a href="https://checkstyle.org" target="_blank" class="bg-white text-blue-600 hover:bg-blue-50 px-6 py-3 rounded-lg font-medium text-center transition duration-300 shadow-sm">
                        <i class="fas fa-external-link-alt mr-2"></i>访问官网
                    </a>
                    <a href="#getting-started" class="bg-transparent border-2 border-white hover:bg-white hover:bg-opacity-10 px-6 py-3 rounded-lg font-medium text-center transition duration-300">
                        <i class="fas fa-book-open mr-2"></i>快速入门
                    </a>
                </div>
            </div>
            <div class="md:w-1/2 flex justify-center">
                <div class="relative">
                    <div class="w-full h-full bg-white bg-opacity-20 rounded-2xl p-6 backdrop-blur-sm">
                        <div class="text-sm font-mono text-white">
                            <div class="mb-4 flex items-center">
                                <span class="w-3 h-3 rounded-full bg-red-500 mr-2"></span>
                                <span class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></span>
                                <span class="w-3 h-3 rounded-full bg-green-500"></span>
                            </div>
                            <pre class="overflow-x-auto"><code class="text-white">// CheckStyle会检查这类问题
public class Example {
  final int NUMBER=5;  // 命名应使用驼峰式
  String my_name;      // 命名不规范
  void myMethod(){     // 缺少空格
    if(NUMBER>3){      // 运算符周围缺少空格
      System.out.println("Hello");
    }
  }
}</code></pre>
                        </div>
                    </div>
                    <div class="absolute -bottom-4 -right-4 bg-blue-800 text-white px-4 py-2 rounded-lg shadow-lg">
                        <i class="fas fa-exclamation-triangle mr-2"></i>发现5个问题
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Features Section -->
    <section class="py-16 px-4 md:px-0 bg-white">
        <div class="container mx-auto max-w-6xl">
            <h3 class="text-3xl font-bold text-center mb-16 section-title">核心功能</h3>
            
            <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
                <!-- Feature 1 -->
                <div class="bg-gray-50 p-6 rounded-xl card-hover">
                    <div class="feature-icon flex items-center justify-center mb-4 text-white">
                        <i class="fas fa-code text-xl"></i>
                    </div>
                    <h4 class="text-xl font-semibold mb-3">编码规范检查</h4>
                    <p class="text-gray-600">自动检测代码是否符合预定义的编码标准，包括格式、命名、注释等，确保团队代码风格一致。</p>
                </div>
                
                <!-- Feature 2 -->
                <div class="bg-gray-50 p-6 rounded-xl card-hover">
                    <div class="feature-icon flex items-center justify-center mb-4 text-white">
                        <i class="fas fa-sliders-h text-xl"></i>
                    </div>
                    <h4 class="text-xl font-semibold mb-3">可配置规则集</h4>
                    <p class="text-gray-600">提供100多种检查规则，支持自定义配置，可根据项目需求灵活调整严格程度。</p>
                </div>
                
                <!-- Feature 3 -->
                <div class="bg-gray-50 p-6 rounded-xl card-hover">
                    <div class="feature-icon flex items-center justify-center mb-4 text-white">
                        <i class="fas fa-palette text-xl"></i>
                    </div>
                    <h4 class="text-xl font-semibold mb-3">多种风格支持</h4>
                    <p class="text-gray-600">内置Google、Sun等主流Java编码规范，也可以定制企业特有的规范。</p>
                </div>
                
                <!-- Feature 4 -->
                <div class="bg-gray-50 p-6 rounded-xl card-hover">
                    <div class="feature-icon flex items-center justify-center mb-4 text-white">
                        <i class="fas fa-file-alt text-xl"></i>
                    </div>
                    <h4 class="text-xl font-semibold mb-3">问题报告生成</h4>
                    <p class="text-gray-600">生成详细的违规报告，包括位置、类型和解决建议，便于开发者快速定位和修复问题。</p>
                </div>
                
                <!-- Feature 5 -->
                <div class="bg-gray-50 p-6 rounded-xl card-hover">
                    <div class="feature-icon flex items-center justify-center mb-4 text-white">
                        <i class="fas fa-cogs text-xl"></i>
                    </div>
                    <h4 class="text-xl font-semibold mb-3">持续集成支持</h4>
                    <p class="text-gray-600">无缝集成到Maven、Gradle、Jenkins等CI/CD工具，实现自动化代码检查。</p>
                </div>
                
                <!-- Feature 6 -->
                <div class="bg-gray-50 p-6 rounded-xl card-hover">
                    <div class="feature-icon flex items-center justify-center mb-4 text-white">
                        <i class="fas fa-plug text-xl"></i>
                    </div>
                    <h4 class="text-xl font-semibold mb-3">IDE集成</h4>
                    <p class="text-gray-600">为主流IDE（IntelliJ IDEA、Eclipse等）提供插件，实现编码过程中的即时反馈。</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Benefits Section -->
    <section class="py-16 px-4 md:px-0 bg-gray-50">
        <div class="container mx-auto max-w-6xl">
            <div class="flex flex-col md:flex-row items-center">
                <div class="md:w-1/2 mb-10 md:mb-0 md:pr-10">
                    <h3 class="text-3xl font-bold mb-8 section-title">为什么选择CheckStyle？</h3>
                    
                    <div class="space-y-6">
                        <div class="flex items-start">
                            <div class="bg-blue-100 p-2 rounded-lg mr-4">
                                <i class="fas fa-check-circle text-blue-600 text-lg"></i>
                            </div>
                            <div>
                                <h4 class="text-lg font-semibold mb-1">提高代码一致性</h4>
                                <p class="text-gray-600">消除团队成员间的编码风格差异，使代码看起来像是一个人写的。</p>
                            </div>
                        </div>
                        
                        <div class="flex items-start">
                            <div class="bg-blue-100 p-2 rounded-lg mr-4">
                                <i class="fas fa-clock text-blue-600 text-lg"></i>
                            </div>
                            <div>
                                <h4 class="text-lg font-semibold mb-1">节省代码审查时间</h4>
                                <p class="text-gray-600">自动化检查基础规范问题，让代码审查专注于架构和逻辑等更重要的问题。</p>
                            </div>
                        </div>
                        
                        <div class="flex items-start">
                            <div class="bg-blue-100 p-2 rounded-lg mr-4">
                                <i class="fas fa-graduation-cap text-blue-600 text-lg"></i>
                            </div>
                            <div>
                                <h4 class="text-lg font-semibold mb-1">培养良好习惯</h4>
                                <p class="text-gray-600">帮助新手开发者从一开始就学习并遵循最佳实践，加速成长。</p>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="md:w-1/2">
                    <div class="mermaid">
                        graph TD
                            A[CheckStyle工作流程] --> B[定义编码规范]
                            B --> C[配置规则文件]
                            C --> D[集成构建工具]
                            D --> E[开发者提交代码]
                            E --> F[自动检查]
                            F -->|发现问题| G[生成报告]
                            F -->|无问题| H[构建继续]
                            G --> I[开发者修复]
                            I --> E
                            H --> J[部署]
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Usage Scenarios -->
    <section class="py-16 px-4 md:px-0 bg-white">
        <div class="container mx-auto max-w-6xl">
            <h3 class="text-3xl font-bold text-center mb-16 section-title">适用场景</h3>
            
            <div class="grid md:grid-cols-3 gap-8">
                <div class="bg-blue-50 p-6 rounded-xl border-l-4 border-blue-500 card-hover">
                    <h4 class="text-xl font-semibold mb-3 flex items-center">
                        <i class="fas fa-users mr-3 text-blue-600"></i> 团队协作开发
                    </h4>
                    <p class="text-gray-600">确保所有团队成员遵循统一的编码标准，减少风格争议，提高代码可读性和维护性。</p>
                </div>
                
                <div class="bg-green-50 p-6 rounded-xl border-l-4 border-green-500 card-hover">
                    <h4 class="text-xl font-semibold mb-3 flex items-center">
                        <i class="fas fa-graduation-cap mr-3 text-green-600"></i> 教学环境
                    </h4>
                    <p class="text-gray-600">帮助新手程序员培养良好的编码习惯，在学习过程中获得即时反馈，加速成长曲线。</p>
                </div>
                
                <div class="bg-purple-50 p-6 rounded-xl border-l-4 border-purple-500 card-hover">
                    <h4 class="text-xl font-semibold mb-3 flex items-center">
                        <i class="fas fa-code-branch mr-3 text-purple-600"></i> 开源项目维护
                    </h4>
                    <p class="text-gray-600">自动化检查贡献者提交的代码，确保社区贡献符合项目规范，减轻维护者负担。</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Getting Started -->
    <section id="getting-started" class="py-16 px-4 md:px-0 bg-gray-50">
        <div class="container mx-auto max-w-6xl">
            <h3 class="text-3xl font-bold text-center mb-12 section-title">快速入门指南</h3>
            
            <div class="bg-white rounded-xl shadow-sm overflow-hidden">
                <div class="border-b border-gray-200">
                    <div class="flex">
                        <button class="px-6 py-3 font-medium text-blue-600 border-b-2 border-blue-600 focus:outline-none">
                            Maven项目
                        </button>
                        <button class="px-6 py-3 font-medium text-gray-500 hover:text-blue-600 focus:outline-none">
                            Gradle项目
                        </button>
                        <button class="px-6 py-3 font-medium text-gray-500 hover:text-blue-600 focus:outline-none">
                            IntelliJ插件
                        </button>
                    </div>
                </div>
                
                <div class="p-6">
                    <h4 class="text-xl font-semibold mb-4">在Maven项目中使用CheckStyle</h4>
                    
                    <div class="space-y-6">
                        <div>
                            <h5 class="font-medium text-gray-800 mb-2 flex items-center">
                                <span class="w-6 h-6 rounded-full bg-blue-600 text-white flex items-center justify-center mr-2">1</span>
                                添加Maven插件
                            </h5>
                            <div class="bg-gray-800 rounded-lg p-4 overflow-x-auto">
                                <pre class="text-gray-200 text-sm"><code>&lt;build&gt;
    &lt;plugins&gt;
        &lt;plugin&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-checkstyle-plugin&lt;/artifactId&gt;
            &lt;version&gt;3.1.2&lt;/version&gt;
            &lt;configuration&gt;
                &lt;configLocation&gt;checkstyle.xml&lt;/configLocation&gt;
            &lt;/configuration&gt;
        &lt;/plugin&gt;
    &lt;/plugins&gt;
&lt;/build&gt;</code></pre>
                            </div>
                        </div>
                        
                        <div>
                            <h5 class="font-medium text-gray-800 mb-2 flex items-center">
                                <span class="w-6 h-6 rounded-full bg-blue-600 text-white flex items-center justify-center mr-2">2</span>
                                创建配置文件
                            </h5>
                            <p class="text-gray-600 mb-3">在项目根目录创建checkstyle.xml文件，或从预设模板开始：</p>
                            <div class="flex gap-4">
                                <a href="#" class="bg-blue-100 text-blue-600 hover:bg-blue-200 px-4 py-2 rounded-lg text-sm font-medium transition duration-300">
                                    <i class="fas fa-download mr-2"></i>下载Google风格模板
                                </a>
                                <a href="#" class="bg-gray-100 text-gray-600 hover:bg-gray-200 px-4 py-2 rounded-lg text-sm font-medium transition duration-300">
                                    <i class="fas fa-download mr-2"></i>下载Sun风格模板
                                </a>
                            </div>
                        </div>
                        
                        <div>
                            <h5 class="font-medium text-gray-800 mb-2 flex items-center">
                                <span class="w-6 h-6 rounded-full bg-blue-600 text-white flex items-center justify-center mr-2">3</span>
                                运行检查
                            </h5>
                            <div class="bg-gray-800 rounded-lg p-4 overflow-x-auto mb-3">
                                <pre class="text-gray-200 text-sm"><code>mvn checkstyle:check</code></pre>
                            </div>
                            <p class="text-gray-600">检查结果会显示在控制台，并生成详细的HTML报告。</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- IntelliJ Integration -->
    <section class="py-16 px-4 md:px-0 bg-white">
        <div class="container mx-auto max-w-6xl">
            <h3 class="text-3xl font-bold text-center mb-16 section-title">IntelliJ IDEA集成指南</h3>
            
            <div class="flex flex-col md:flex-row gap-10">
                <div class="md:w-1/2">
                    <div class="sticky top-6">
                        <div class="bg-blue-600 text-white p-6 rounded-xl shadow-lg">
                            <h4 class="text-xl font-bold mb-4">CheckStyle插件主要功能</h4>
                            <ul class="space-y-3">
                                <li class="flex items-start">
                                    <i class="fas fa-check-circle mr-2 mt-1"></i>
                                    <span>实时代码检查与提示</span>
                                </li>
                                <li class="flex items-start">
                                    <i class="fas fa-check-circle mr-2 mt-1"></i>
                                    <span>支持多套规则配置切换</span>
                                </li>
                                <li class="flex items-start">
                                    <i class="fas fa-check-circle mr-2 mt-1"></i>
                                    <span>快速修复建议与自动修复</span>
                                </li>
                                <li class="flex items-start">
                                    <i class="fas fa-check-circle mr-2 mt-1"></i>
                                    <span>与项目构建工具集成</span>
                                </li>
                                <li class="flex items-start">
                                    <i class="fas fa-check-circle mr-2 mt-1"></i>
                                    <span>自定义规则排除与抑制</span>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                
                <div class="md:w-1/2">
                    <div class="space-y-8">
                        <div>
                            <h4 class="text-xl font-semibold mb-4 flex items-center">
                                <span class="w-8 h-8 rounded-full bg-blue-600 text-white flex items-center justify-center mr-3">1</span>
                                安装插件
                            </h4>
                            <p class="text-gray-600 mb-4">通过IDEA插件市场安装CheckStyle-IDEA插件：</p>
                            <ol class="list-decimal list-inside space-y-2 text-gray-600">
                                <li>打开 <span class="font-medium text-blue-600">File → Settings → Plugins</span></li>
                                <li>搜索 <span class="font-medium">"CheckStyle-IDEA"</span></li>
                                <li>点击 <span class="font-medium">Install</span> 并重启IDEA</li>
                            </ol>
                        </div>
                        
                        <div>
                            <h4 class="text-xl font-semibold mb-4 flex items-center">
                                <span class="w-8 h-8 rounded-full bg-blue-600 text-white flex items-center justify-center mr-3">2</span>
                                配置规则
                            </h4>
                            <p class="text-gray-600 mb-4">添加并激活检查规则配置：</p>
                            <ol class="list-decimal list-inside space-y-2 text-gray-600">
                                <li>打开 <span class="font-medium text-blue-600">File → Settings → Tools → CheckStyle</span></li>
                                <li>点击 <span class="font-medium">+</span> 添加配置</li>
                                <li>选择 <span class="font-medium">"Use a local Checkstyle file"</span> 或内置规则</li>
                                <li>指定配置文件路径并命名</li>
                                <li>勾选激活配置</li>
                            </ol>
                        </div>
                        
                        <div>
                            <h4 class="text-xl font-semibold mb-4 flex items-center">
                                <span class="w-8 h-8 rounded-full bg-blue-600 text-white flex items-center justify-center mr-3">3</span>
                                使用插件
                            </h4>
                            <p class="text-gray-600 mb-4">插件的主要使用方式：</p>
                            <div class="bg-gray-50 p-4 rounded-lg">
                                <div class="flex items-start mb-3">
                                    <div class="bg-blue-100 p-2 rounded-lg mr-3">
                                        <i class="fas fa-search text-blue-600"></i>
                                    </div>
                                    <div>
                                        <h5 class="font-medium">手动检查</h5>
                                        <p class="text-sm text-gray-600">在CheckStyle工具窗口中选择文件/模块/项目右键检查</p>
                                    </div>
                                </div>
                                <div class="flex items-start mb-3">
                                    <div class="bg-green-100 p-2 rounded-lg mr-3">
                                        <i class="fas fa-sync-alt text-green-600"></i>
                                    </div>
                                    <div>
                                        <h5 class="font-medium">实时检查</h5>
                                        <p class="text-sm text-gray-600">启用实时扫描，编码时即时显示违规</p>
                                    </div>
                                </div>
                                <div class="flex items-start">
                                    <div class="bg-purple-100 p-2 rounded-lg mr-3">
                                        <i class="fas fa-lightbulb text-purple-600"></i>
                                    </div>
                                    <div>
                                        <h5 class="font-medium">快速修复</h5>
                                        <p class="text-sm text-gray-600">对违规代码使用Alt+Enter查看修复建议</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Call to Action -->
    <section class="py-20 px-4 md:px-0 bg-blue-600 text-white">
        <div class="container mx-auto max-w-4xl text-center">
            <h3 class="text-3xl font-bold mb-6">准备好提升你的代码质量了吗？</h3>
            <p class="text-xl mb-8 opacity-90">CheckStyle完全免费开源，今天就开始使用，为你的项目带来更高质量的代码！</p>
            <div class="flex justify-center gap-4">
                <a href="https://checkstyle.org" target="_blank" class="bg-white text-blue-600 hover:bg-blue-50 px-8 py-3 rounded-lg font-medium transition duration-300 shadow-sm">
                    <i class="fas fa-download mr-2"></i>立即下载
                </a>
                <a href="https://checkstyle.org/usage.html" target="_blank" class="bg-transparent border-2 border-white hover:bg-white hover:bg-opacity-10 px-8 py-3 rounded-lg font-medium transition duration-300">
                    <i class="fas fa-book mr-2"></i>查看文档
                </a>
            </div>
        </div>
    </section>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            }
        });
    </script>
</body>
</html>
```